package com.ilincar.utils;

/**
 * Created by ilincar on 2016/12/12.
 * 分为正式版地址，和测试版地址
 */

public class IlincarUrls {

    /**
     * ilincar 公司的IP 地址
     */
    public static final String ILINCAR_URL = "www.ilincar.com";
    //public static final String ILINCAR_URL = "120.25.150.1";

    public static final String ILINCAR_ALL_URL = "http://www.ilincar.com/";
    //public static final String ILINCAR_ALL_URL = "http://120.25.150.1:8801/";
    /**
     * ilincar  公司的web client地址
     */
    public static final String ILINCAR_URL_CLIENT = "http://www.ilincar.com/ilin-client/";
    //public static final String ILINCAR_URL_CLIENT = "http://120.25.150.1:8081/ilin-client/";
    //public static final String ILINCAR_URL_CLIENT = "http://120.25.150.1:8801/xj-client/"; //目前只是航盛的地址,测试
       

    /**
     * DDPUSH 端口
     */
    public static int DDPUSH_PORT = 9966;

    /**
     * Ilincar 手机端应用下载地址 , 航盛手机端应用下载地址  凯路航手机应用下载地址
     */
    public static final String ILINCAR_APK_DOWNLOAD_URL = "http://www.autlink.com/ilinweb/download.html"; //Ilincar 手机端应用下载地址
    //public static final String ILINCAR_APK_DOWNLOAD_URL = "http://server.hangshengiov.com/ilinweb/hs.apk"; //航盛手机端应用下载地址
    //public static final String ILINCAR_APK_DOWNLOAD_URL = "http://www.klh66.com/down/index.html"; // 凯路航手机应用下载地址


    //////////////////////////////////////////地址组合//////////////////////////////////////////////////

    /**
     * 上传警告信息地址
     */
    public static final String ALARM_MESSAGE_UPLOAD_URL = ILINCAR_URL_CLIENT + "danger-car";

    /**
     * 上传报警视频地址  前置摄像头
     */
    public static final String KEY_ALARM_VIDEO_FRONT_UPLOAD_URL = ILINCAR_ALL_URL + "xj-client" + "/" + "rt-video" + "/" + "upload-ot";

    /**
     * 上传报警视频地址  后置摄像头
     */
    public static final String KEY_ALARM_VIDEO_BACK_UPLOAD_URL =  ILINCAR_ALL_URL + "xj-client" + "/" + "rt-video" + "/" + "upload";


    /**
     * 上传车机位置 地址
     */
    public static final String CAR_LOCATION_UPLOAD_URL = ILINCAR_URL_CLIENT + "p-dp-p";

    /**
     * 预导航回传 地址
     */
    public static final String PRE_NAVIGATION_BACK_URL = ILINCAR_URL_CLIENT + "p-trav-a";

    /**
     * DDPUSH 推送ID 上传地址
     */
    public static final String DDPUSH_ID_UPLOAD_URL = ILINCAR_URL_CLIENT + "ac-upload-push";

    /**
     * 查询车机绑定 地址
     */
    public static final String INQUIRY_BIND_STATE_URL = ILINCAR_URL_CLIENT + "ac-bind-state";

    /**
     * 获取短信解绑CODE地址
     */
    public static final String UNBIND_SMS_CODE_URL = ILINCAR_URL_CLIENT + "ac-f-sms-d";

    /**
     * 解除车机绑定
     */
    public static final String UNBIND_URL = ILINCAR_URL_CLIENT + "ac-unbind";

    /**
     * 上传OBD信息 地址
     */
    public static final String OBD_MESSAGE_UPLOAD_URL = ILINCAR_URL_CLIENT + "car-check";

    /**
     * 检查OBD是否需要升级
     */
    public static final String OBD_CHECK_UPDATE_URL = ILINCAR_URL_CLIENT + "";

    /**
     * 上传行程文件 地址
     */
    public static final String TRAVEL_FILE_UPLOAD_URL = ILINCAR_URL_CLIENT + "car-odb";

    /**
     * 照片上传地址
     */
    public static final String PHOTO_UPLOAD_URL = ILINCAR_URL_CLIENT + "car-a-pic";

    /**
     * SIM卡合法性检查
     */
    public static final String SIMCARD_VALIDITY_URL = ILINCAR_URL_CLIENT + "d-sim-boot";

    /**
     * SIM卡流量上限查询
     */
    public static final String SIMCARD_TRIFFIC_OVER_URL = ILINCAR_URL_CLIENT + "f-flow-over";

    /**
     * SIM卡流量使用查询
     */
    public static final String SIMCARD_TRIFFIC_CHECK_URL = ILINCAR_URL_CLIENT + "s-month-overplus";

}
